managing configuration in spring